Skip to content

Separate mac builds to ARM64 and Intel - #346

Open
mXaln wants to merge 4 commits into
developfrom
mm-build-silicon-only
Open

Separate mac builds to ARM64 and Intel#346
mXaln wants to merge 4 commits into
developfrom
mm-build-silicon-only

Conversation

@mXaln

@mXaln mXaln commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Fixes # .

Changes in this pull request:

mXaln added 3 commits August 11, 2026 17:17
Drops the universal build (and its osxUniversal x64ArchFiles config),
so no Intel Mac artifact is produced anymore.
volume names over 27 chars and the versioned file name exceeds that. Drop zip artifacts
binary; the release step builds them sequentially since appdmg mounts a volume per dmg.
@mXaln mXaln self-assigned this Aug 11, 2026
@mXaln
mXaln requested a review from PurpleGuitar August 11, 2026 14:33
Comment thread gulpfile.js Outdated

Promise.all(platforms.map(packagePlatform))
.then(() => done())
.catch(err => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, this catch() will log the error and then call done(), allowing the build to continue. I think we should consider erroring out instead so that we don't accidentally (and silently) release a broken build.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by adding the error object as an argument of done function, we break the build process.

Comment thread gulpfile.js Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not part of your change, but again I think we should consider catching errors here and failing the build.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

Comment thread gulpfile.js Outdated
const options = {
appPath: buildPath,
name: name,
title: APP_NAME,

@PurpleGuitar PurpleGuitar Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you made the title APP_NAME + "-" + ${arch}, would that remove the need for the "tricky" code below? It might let you run the builds in parallel too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice suggestion.

Comment thread gulpfile.js
throw new Error('Missing build');
}

const linuxDest = `${RELEASE_DIR}BTT-Writer-${packageJson.version}-linux-x64.zip`;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep the Linux .zip download? The .deb target only works for Debian-based Linux targets.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@mXaln
mXaln force-pushed the mm-build-silicon-only branch from 41eb656 to 4e06aca Compare August 17, 2026 13:09
Use unique titles for Mac dmgs for parallel build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants